package jsonrpc_api

import (
	"github.com/kataras/iris/v12"
	"lib/api/jsonrpc"
	"lib/exception"
)

func JsonRpcApiHandler(app *iris.Application) (string, exception.Exception) {
	party := app.Party("/api/v1/jsonrpc")
	jsonrpc.ApiHandler(party)
	return "jsonrpc", nil
}

func JsonRpcMethodBootstrap() {
	// all method register form here
}
